/*
 * @Author: zhang gen yuan
 * @Date: 2021-05-12 16:58:15
 * @Descripttion: 
 */

export default{
    namespaced:true,
    state:{
        info:{},
        menus:[],
        key:'',
        code:''
    },
    getters:{
        menus:state=>state.menus,
        key:state=>state.key,
        code:state=>state.code
    },
    mutations:{
        setInfo(state,payload){
            state.info = payload;
        },
        setMenus(state,payload){
            state.menus = payload;
        },
        setKey(state,payload){
            state.key = payload
        },
        setCode(state,payload){
            state.code = payload
        }
    }
}